#include "Point3D.h"
#include "Triangle3D.h"

Point3D::Point3D(double i_x, double i_y, double i_z)
  {
  m_data = TVector3(i_x, i_y, i_z);
  }

double Point3D::GetX() const 
  {
  return m_data.X();
  }

double Point3D::GetY() const
  {
  return m_data.Y();
  }

double Point3D::GetZ() const
  {
  return m_data.Z();
  }

std::vector<const Triangle3D*> Point3D::GetTriangles() const
  {
  return m_triangles;
  }

// Point3DID

Point3DID::Point3DID()
  :m_object(nullptr)
  {
  }

Point3DID::Point3DID(Point3D* i_object)
  :m_object(i_object)
  {
  }

